<?php
include_once 'module/controls.php';
include_once 'js/ckeditor/ckeditor.php';
include_once 'model/comment/process.php';
$comment = new comment();
$c = new controls();
$fillOne = mysql_fetch_array($comment->FillOne($_GET));
?>
<div id="content">
    <div class="content_block">
        <h2 class="jquery_tab_title"><?php echo $phrase["manager_comment_pages"] ?></h2>
        <form method="post" action="<?= $url["home"] ?>/menu/comment-process" enctype="multipart/form-data">
            <p>
                <?php echo $c->get_textHidden("id", $fillOne["comment_id"]) ?>
                <?php echo $c->get_textHidden("question_id", $fillOne["question_id"]) ?>
                <?php echo $c->get_textHidden("page_id", $fillOne["page_id"]) ?>
                <?php echo $c->get_label($phrase["comment_name"]) ?>
                <?php echo $c->get_textReadOnly("comment_name", $fillOne["comment_name"]) ?>
                <span id="tick_username" class="tick"></span>
                <span id="cross_username" class="cross"></span>
            </p>
            <p>
                <?php echo $c->get_label($phrase["page_title"]) ?>
                <?php echo $c->get_textReadOnly("page_title", $fillOne["page_title"]) ?>
            </p>
            <p>
                <?php echo $c->get_label($phrase["comment_description"]) ?>
                <?php echo $c->get_textareaReadOnly("comment_description", $fillOne["comment_description"]) ?>
            </p>
            <p>
                <?php echo $c->get_button("update", $phrase["accept"]) ?>
            </p>
            <p><img id="images"/></p>
        </form>
    </div>
</div>